package com.woniu.product.feign;

import com.woniu.common.dto.UserAddrDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 杜梅杰
 * @Description
 * @Date 2024/5/24 12:19
 */
@FeignClient(value = "zgyd-user")
public interface UserFeign {
    /**
     * 获取地址信息
     **/
    @PostMapping("/getAddr")
    UserAddrDto getAddr(@RequestParam("addrId") Long addrId);
}
